package examReview;

public class Test {
    public static void main(String[] args) {
        Person xm=new Student();
        xm.setName("xiaoming");
        xm.setAge(23);
        xm.setGender("男");
        xm.eat();
        xm.sleep();
        xm.toString();
    }
}
